package com.woniuxy.course.service;

import com.woniuxy.commons.entity.CourseChapter;
import com.woniuxy.commons.entity.Courseware;

import java.util.List;

/**
 * @Author LuoChen
 * @DateTime 2020-08-03 09:55:08
 * @Description
 */
public interface CourseChapterService {

    /**
     * 根据章节id查找课件
     * @param cpid
     * @return: java.util.List<com.woniuxy.commons.entity.Courseware>
     * @author: LuoChen
     * @dateTime: 2020-08-03 09:54:11
     */
    List<Courseware> findCoursewareByCpid (int cpid);

    /**
     * 根据课程id查找章节
     * @param cid
     * @return: java.util.List<com.woniuxy.commons.entity.CourseChapter>
     * @author: LuoChen
     * @dateTime: 2020-08-03 17:47:54
     */
    List<CourseChapter> findChaptersByCid (int cid);
}
